/*
 * Created on 7/Abr/2004
 *
 * To change the template for this generated file go to
 * Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and Comments
 */
package org.cyborgas.xmltool.actions;

import org.cyborgas.xmltool.AboutDialog;
import org.eclipse.jface.action.Action;
import org.eclipse.jface.window.ApplicationWindow;


/**
 * @author rino
 *
 * To change the template for this generated type comment go to
 * Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and Comments
 */
public class HelpAboutAction extends Action {
	private ApplicationWindow window;

	public HelpAboutAction(ApplicationWindow window) {
		this.window = window;
		setText("&About...@F1");
		setToolTipText("About");
//		setImageDescriptor(Util.getImageDescriptor("fileopen.gif"));
	}

	public void run() {
		//AboutDialog dialog = new AboutDialog(window.getShell());
		AboutDialog dialog = new AboutDialog(window.getShell());
		dialog.open();
	}
}
